﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.ComponentModel;
using System.Data.SqlClient;
using System.Reflection;

namespace EasyMapping.Core
{
    public class SQLProcedureParameterWrapper: IProcedureParameter
    {
        public SQLProcedureParameterWrapper()
        { 
            
        }

        public SQLProcedureParameterWrapper(SqlParameter para)
        {
            SQLClientParameter = para;
        }

        public string name { get; set; }
        public SqlDbType type { get; set; }
        public object value { get; set; }
        public string objectColumn { get; set; }

        [DefaultValue(false)]
        public bool IsOutput { get; set; }
        public PropertyInfo propertyInfo { get; set; }
        public SqlParameter SQLClientParameter { get; set; }
    }
}
